package aop;

import org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator;
import org.springframework.aop.framework.AopProxyFactory;
import org.springframework.aop.framework.ProxyFactoryBean;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@EnableAspectJAutoProxy
public class Main {

    public static void main(String[] args) throws ClassNotFoundException {
        Class<ProxyFactoryBean> proxyFactoryBeanClass = ProxyFactoryBean.class;

        ProxyFactoryBean proxyFactoryBean = new ProxyFactoryBean();
        proxyFactoryBean.setTarget(new HelloImpl());
        proxyFactoryBean.setProxyInterfaces(new Class[]{HelloI.class});
//        proxyFactoryBean.setAopProxyFactory();


    }

}
